package com.yxzz.core.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 诊断记录与治疗药方等的关系对象 p_diagnosis_relationship
 * 
 * @author ruoyi
 * @date 2023-02-28
 */
public class PDiagnosisRelationship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 病人ID */
    @Excel(name = "病人ID")
    private Long patientId;

    /** 诊断记录Id */
    @Excel(name = "诊断记录Id")
    private Long diagnosisId;

    /** 用药记录Id */
    @Excel(name = "用药记录Id")
    private Long medicinalId;

    /** 治疗记录Id */
    @Excel(name = "治疗记录Id")
    private Long therapyId;

    /** 检查记录ID */
    @Excel(name = "检查记录ID")
    private Long examId;

    /** 健康记录ID */
    @Excel(name = "健康记录ID")
    private Long lifestyleId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setDiagnosisId(Long diagnosisId) 
    {
        this.diagnosisId = diagnosisId;
    }

    public Long getDiagnosisId() 
    {
        return diagnosisId;
    }
    public void setMedicinalId(Long medicinalId) 
    {
        this.medicinalId = medicinalId;
    }

    public Long getMedicinalId() 
    {
        return medicinalId;
    }
    public void setTherapyId(Long therapyId) 
    {
        this.therapyId = therapyId;
    }

    public Long getTherapyId() 
    {
        return therapyId;
    }
    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setLifestyleId(Long lifestyleId) 
    {
        this.lifestyleId = lifestyleId;
    }

    public Long getLifestyleId() 
    {
        return lifestyleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientId", getPatientId())
            .append("diagnosisId", getDiagnosisId())
            .append("medicinalId", getMedicinalId())
            .append("therapyId", getTherapyId())
            .append("examId", getExamId())
            .append("lifestyleId", getLifestyleId())
            .toString();
    }
}
